#include "stdio.h"
#include "libtime.h"

int main(void)
{
    times_t now = {};
	times_t *ttime = &now;


    sysstus_t stus = time(ttime);
	
    printf("result: %d, %d-%d-%d %d:%d:%d\n",
        stus == SYSSTUSOK, 
        ttime->year,
        ttime->mon,
        ttime->day,
        ttime->hour,
        ttime->min,
        ttime->sec    
    );

	return 0;
}
